package com.baidu.travel.service;

import com.baidu.travel.domain.Logtable;
import com.baidu.travel.domain.LogtablePO;
import com.baidu.travel.domain.QueryCondition;

import java.sql.SQLException;
import java.util.List;


/**
 * 日志Service
 *
 * @author liqiang
 *
 */
public interface LogtableService {
    /**
     * 增加日志
     * @param log
     * @return
     * @throws SQLException
     */
     boolean addLog(Logtable log) throws SQLException;
    /**
     * 分页查询日志
     * @param queryCondition
     * @return
     * @throws SQLException
     */
    List<LogtablePO> getByPage(QueryCondition queryCondition);
}
